DX11 CREATE OBJECT CUBE

Creates a cube object with the given side length.

  Syntax
Return Dword = DX11 CREATE OBJECT CUBE(side, [vertLayout])
  Parameters
side
Float
The side length of the cube to be created.
[Optional] vertLayout
Dword
The object will be created to conform to this vertex layout. Only POSITION, TEXCOORD0, COLOR0 and NORMAL data is created; any other data elements are set to 0. Will use a default VertexLayout (POSITION/COLOR/NORMAL/TEXCOORD) if omitted.

  Returns

The created object.

  See also

OBJECT Functions Menu
DX11 Function Categories